package com.xqboss.apps.enums.user;


import com.xqboss.common.enums.BaseEnum;

/**
 * 钱包扳手余额变动类型
 */
public enum WalletWrenchChangeTypeEnum implements BaseEnum<Integer> {
    RECEIVE(1, "好友贡献"),
    TEAM_MATERIAL_PROMOTION(2, "队伍材料升级消耗"),
    TEAM_ORDINARY_PROMOTION(3, "队伍普通升级消耗"),
    CREATE_GUILD(4, "创建公会"),
    JOIN_GUILD(5, "加入公会"),
    UNLOCK_SLOT(6, "解锁卡槽消耗"),
    MARKET_RESALE(11,"市场转卖"),

    CANCEL_MARKET(17,"市场转卖退回"),

    WRENCH_MARKET_BUY(18, "市场购买"),

    ADMIN(19,"系统操作"),

    REPAIRS(20, "装备修复"),

    WRENCH_FACTORY(21,"扳手工厂生产"),

    WRENCH_GIVE(22,"扳手赠送"),
    TRANSFER_DEPLETE(23,"藏品转赠消耗"),

    SYNTHESIS_CONSUME(25, "合成消耗"),

    SYNTHESIS_RESULT(26, "合成获得"),

    SMELT_PRODUCE(27, "熔炼获得"),
    GAME_MATERIAL_STRIKE_IN(40, "时来运转空投"),
    GAME_MATERIAL_STRIKE_OUT(41, "时来运转消耗"),

    ;

    private final Integer value;
    private final String msg;

    WalletWrenchChangeTypeEnum(Integer value, String description) {
        this.value = value;
        this.msg = description;
    }

    public Integer getValue() {
        return value;
    }

    @Override
    public String getMsg() {
        return msg;
    }
}
